<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <link rel="stylesheet" href="/webjars/bootstrap/3.3.4/css/bootstrap.css"/>
    <script src="/webjars/jquery/2.1.3/jquery.js"></script>
    <script src="/webjars/bootstrap/3.3.4/js/bootstrap.js"></script>
    <script src="/js/test.js"></script>
</head>
--页面1--
<!--这个页面叫house_list-->
<body>
<!--此时我想将以下div中的内容嵌套到页面2-->
<div th:fragment="table">
    <table class="table table-striped" id="search_results">
        <thead>
        <tr>
            <th>No</th>
            <th>Title</th>
            <th>Content</th>
            <th>Score</th>
        </tr>
        </thead>
        <tbody>
        <tr th:each="article: ${articles}">
            <td th:text="${article.no}">Oranges</td>
            <td th:text="${article.title}">Oranges</td>
            <td th:text="${article.content}">Oranges</td>
            <td th:text="${#numbers.formatDecimal(article.score, 1, 2)}">0.99</td>
        </tr>
        </tbody>
    </table>
</div>
</body>

</html>